home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / Tool Chest / Development Tools & Languages / Dylan Related / Marlais / Marlais 0.5.9-portable sources / syntax.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-15  |  2.3 KB  |  66 lines  |  [TEXT/ttxt]

  1. /*
  2.  
  3.    syntax.h
  4.  
  5.    This software is free software; you can redistribute it and/or
  6.    modify it under the terms of the GNU Library General Public
  7.    License as published by the Free Software Foundation; either
  8.    version 2 of the License, or (at your option) any later version.
  9.  
  10.    This software is distributed in the hope that it will be useful,
  11.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.    Library General Public License for more details.
  14.  
  15.    You should have received a copy of the GNU Library General Public
  16.    License along with this software; if not, write to the Free
  17.    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19.    Original copyright notice follows:
  20.  
  21.    Copyright, 1993, Brent Benson.  All Rights Reserved.
  22.    0.4 & 0.5 Revisions Copyright 1994, Joseph N. Wilson.  All Rights Reserved.
  23.  
  24.    Permission to use, copy, and modify this software and its
  25.    documentation is hereby granted only under the following terms and
  26.    conditions.  Both the above copyright notice and this permission
  27.    notice must appear in all copies of the software, derivative works
  28.    or modified version, and both notices must appear in supporting
  29.    documentation.  Users of this software agree to the terms and
  30.    conditions set forth in this notice.
  31.  
  32.  */
  33.  
  34. #ifndef SYNTAX_H
  35. #define SYNTAX_H
  36.  
  37. #include "object.h"
  38.  
  39. /* global objects */
  40. extern Object type_class, initial_state_sym, next_state_sym;
  41. extern Object current_element_sym;
  42. extern Object signal_symbol, variable_keyword, range_keyword;
  43. extern Object collection_keyword;
  44. extern Object to_symbol, above_symbol, below_symbol, by_symbol;
  45. extern Object forward_iteration_protocol_symbol;
  46. extern Object lesser_symbol, greater_symbol;
  47. extern Object lesser_equal_symbol, greater_equal_symbol;
  48. extern Object plus_symbol;
  49. extern Object object_class_symbol;
  50. extern Object import_keyword;
  51. extern Object exclude_keyword;
  52. extern Object prefix_keyword;
  53. extern Object rename_keyword;
  54. extern Object export_keyword;
  55. extern Object use_symbol;
  56. extern Object export_symbol;
  57. extern Object create_symbol;
  58. extern Object empty_string;
  59.  
  60. typedef Object (*syntax_fun) (Object);
  61. void init_syntax_table (void);
  62. syntax_fun syntax_function (Object sym);
  63. Object eval_slots (Object slots);
  64.  
  65. #endif
  66.